package com.yhh.location.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/*
 * @Author: yhh
 * @Date:  2024/04/30 21:29
 */
@RestController
@RequestMapping("/location")
public class LocationController {

    //接收用户发过来的经纬度
    @RequestMapping("/getLocation")
    public String getLocation(String latitude,String longitude){
        System.out.println("latitude:"+latitude+"longitude:"+longitude);
        return "success";
    }
}
